<!DOCTYPE HTML>
<html lang="zh-cn">
    <head>
        <title>{stl.sitename} | 用户中心</title>
      <stl:include file="/include/head.html"></stl:include>
    </head>
    <body>
    <div class="container">
        <stl:include file="/include/header.html"></stl:include>

        

        <div class="content">
        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 col-md-push-8 col-lg-push-8">
                <script>
                    $(function(){
                        $("#p-account").addClass("active");
                        $("#p-basic").click(function(){
                            location.href = "/User/basic";
                        });
                        $("#p-avatar").click(function(){
                            location.href = "/User/avatar";
                        });
                        $("#p-account").click(function(){
                            location.href = "/User/account";
                        });
                         $("#p-return").click(function(){
                            location.href = "/User/";
                        });
                    })

                </script>

                <div class="section">
                    <div class="list-group sidebar-nav">
                        <ul class="menu" id="profile-sidebar">
                            <li id="p-return">返回个人主页<span class="glyphicon glyphicon-share-alt" aria-hidden="true"></span></li>
                            <li id="p-basic">基本资料</li>
                            <li class="hidden-xs" id="p-avatar">修改头像</li>
                            <li id="p-account" class="active">修改密码</li>
                        </ul>
                    </div>
                </div>
            </div>

            <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8 col-md-pull-4 col-lg-pull-4">
                <div class="section section-settings">
                    <h4>修改密码</h4>
                    <form id="account" method="post" action="changePassword">
                        <div class="form-group">
                            <label for="password-current">原密码</label>
                            <input class="form-control" id="password-current" value="" placeholder="原密码" name="f" type="password">
                        </div>
                        <div class="form-group">
                            <label for="password-new">新密码</label>
                            <input class="form-control" id="password-new" value="" placeholder="新密码" name="p" type="password">
                        </div>
                        <div class="form-group">
                            <label for="password-repeat">重复密码</label>
                            <input class="form-control" id="password-repeat" value="" placeholder="重复密码" name="re" type="password">
                        </div>
                        <button type="submit" class="btn btn-primary">确定修改</button>
                    </form>
                </div>

            </div>
        </div>
    </div>




    </div>
    <stl:include file="/include/footer.html"></stl:include>
    <stl:include file="/include/bottom-bar.html"></stl:include>
    <stl:include file="/include/bottom.html"></stl:include>
    <script>
        $("#nav-index").removeClass('active');
        $("#nav-course").addClass('active');
    </script>
    </body>
</html>
